package com.kingint.web.admin.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kingint.mbg.bas.entity.BasRepairGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 维修物品相关表 服务类
 * </p>
 *
 * @author wxh
 * @since 2020-12-22
 */
public interface BasRepairGoodsService extends IService<BasRepairGoods> {

    /**
     * 添加维修物品信息
     * @param basRepairGoods
     * @return
     */
    Object insertRepairGoodsInfo(BasRepairGoods basRepairGoods);

    /**
     * 更新维修物品信息
     * @param basRepairGoods
     * @return
     */
    int updateRepairGoodsInfo(BasRepairGoods basRepairGoods);

    /**
     * 删除维护物品信息
     * @param id
     * @return
     */
    int deleteRepairGoodsInfo(Integer id);

    /**
     * 分页查询维护物品信息
     * @param basRepairGoods
     * @param pageNum
     * @param pageSize
     * @return
     */

    IPage<BasRepairGoods> getRepairGoodsList(BasRepairGoods basRepairGoods,Integer pageNum,Integer pageSize);

}
